package com.xujl.mvcbind.ui.refresh.control;

import android.os.Bundle;
import android.view.View;

import com.xujl.fastlib.base.BaseFragment;
import com.xujl.mvcbind.R;
import com.xujl.mvcbind.ui.refresh.model.RefreshWebFragmentModel;
import com.xujl.mvcbind.ui.refresh.view.RefreshWebFragmentView;

/**
 * <pre>
 *     author : xujl
 *     e-mail : 597355068@qq.com
 *     time   : 2019/08/20
 *     desc   :
 *     version: 1.0
 * </pre>
 */

public class RefreshWebFragmentControl extends BaseFragment<RefreshWebFragmentModel, RefreshWebFragmentView> {
    @Override
    public void init (Bundle savedInstanceState) {
    }

    @Override
    public boolean onBackPressedSupport () {
        return mView.onBackPressedSupport();
    }

    @Override
    public void onClick (View view) {
        super.onClick(view);
        switch (view.getId()) {
            case R.id.iv_back:
                pop();
                break;
            case R.id.iv_menu:
                mView.toast("假装打开了菜单的样子...");
                break;
            default:

                break;

        }
    }
}
